// index.js
// 获取应用实例
const app = getApp()
const $api = require('../../utils/index')
Page({
  data: {
    imgurl:app.globalData.imgurl,  
    userInfor:{},
    srcurl:''
  },  
     
  onShow(){ 

  },
  onLoad(option) {
    var that = this;
    that.setData({
        userInfor: wx.getStorageSync('userInfor')
    })  
    console.log(option.url);  
    var urls = JSON.parse(decodeURIComponent(option.url));  
    that.setData({
        srcurl:urls
    }) 
    console.log(that.data.srcurl);
    this.from = option.from;
  }, 
})
